package com.client.clovece;
import java.util.ArrayList;

import javax.swing.ImageIcon;


public class Configuration {
	private static Configuration confInstance = null; 
	
	private Configuration(){}
	
	public static Configuration getInstance(){
		if (confInstance == null){
			return new Configuration();
		}else return confInstance;
	}
	
	private String[] picturePaths = {
			//null,
			"graphics/bright/1.png",//4 bright pieces colors
			"graphics/bright/2.png",
			"graphics/bright/3.png",
			"graphics/bright/4.png",
			"graphics/dim/1.png",//4 dim pieces colors
			"graphics/dim/2.png",
			"graphics/dim/3.png",
			"graphics/dim/4.png",
			"graphics/role/1.png",//4 start tile types
			"graphics/role/2.png",
			"graphics/role/3.png",
			"graphics/role/4.png",
			"graphics/role/1.png",//4 end tile types
			"graphics/role/2.png",
			"graphics/role/3.png",
			"graphics/role/4.png",
			"graphics/role/g.png",//4 crossroad tiles...
			"graphics/role/g.png",//in this case the same as 
			"graphics/role/g.png",//game tiles
			"graphics/role/g.png",
			"graphics/info/1.png",//4 infopanel tile types
			"graphics/info/2.png",
			"graphics/info/3.png",
			"graphics/info/4.png",
			"graphics/role/g.png",//game tiles
			"graphics/role/e.png",//empty tiles to fill the rest of a board
			"graphics/dice/1.png",//6 + 1 dice tile types 
			"graphics/dice/2.png",
			"graphics/dice/3.png",
			"graphics/dice/4.png",
			"graphics/dice/5.png",
			"graphics/dice/6.png",
			"graphics/dice/empty.png",			
			};

	
	public String[] getPaths(){
		return picturePaths;
	}
	
	public String getPath(ButtonStates bs){
		return picturePaths[bs.ordinal()];			
	}
}
